package com.ht.service.impl;

import com.ht.bean.Emp;
import com.ht.dao.NommsgDao;
import com.ht.service.NommsgService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class NommsgServiceImpl implements NommsgService {

    @Autowired
    private NommsgDao nommsgDao;

    @Override
    public List<Map> selectEmpMsg(Integer empId) {
        return nommsgDao.selectEmpMsg(empId);
    }

    @Override
    public boolean UpdateEmpPsw(Emp emp) {
        return nommsgDao.UpdateEmpPsw(emp);
    }
}
